<?php

require_once('resources/class/private/webos.php');

$webos = new webosClass();

$appID = Jpublic::post('appID');

$screen = Jpublic::post('screen');

if ($screen < 0) {
	
	$screen = 0;
	
}

if ($screen > 4) {
	
	$screen = 4;
	
}

if (JAdmin_core::check_login()) {
	
	$webos -> set_userapp($appID, $screen, $USER['uid']);

}

?>